﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace CodeFirst.Migrations
{
    public partial class initzzwj : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "sys_Menu",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUser", "DeleteTime", "DeleteUser", "EnableState", "Icon", "IsDelete", "Level", "LinkUrl", "MenuName", "ParentId", "Remark", "Sort", "UpdateTime", "UpdateUser" },
                values: new object[] { "hiprintdayin", "base.printTempForHiprint", new DateTime(2024, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "", null, "", 1, "el-icon-s-custom", false, 2, "/printTempForHiprint", "打印模板(hiprint)", "jichushuju", "系统初始数据", 2, null, "" });

            migrationBuilder.InsertData(
                table: "sys_Menu",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUser", "DeleteTime", "DeleteUser", "EnableState", "Icon", "IsDelete", "Level", "LinkUrl", "MenuName", "ParentId", "Remark", "Sort", "UpdateTime", "UpdateUser" },
                values: new object[] { "jichushuju", "base", new DateTime(2024, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "", null, "", 1, "", false, 1, "", "基础数据", "", "系统初始数据", 99, null, "" });

            migrationBuilder.InsertData(
                table: "sys_Menu",
                columns: new[] { "Id", "Code", "CreateTime", "CreateUser", "DeleteTime", "DeleteUser", "EnableState", "Icon", "IsDelete", "Level", "LinkUrl", "MenuName", "ParentId", "Remark", "Sort", "UpdateTime", "UpdateUser" },
                values: new object[] { "LODOPdayin", "base.printTemp", new DateTime(2024, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), "", null, "", 1, "el-icon-s-custom", false, 2, "/printTemp", "打印模板(lodop)", "jichushuju", "系统初始数据", 2, null, "" });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "sys_Menu",
                keyColumn: "Id",
                keyValue: "hiprintdayin");

            migrationBuilder.DeleteData(
                table: "sys_Menu",
                keyColumn: "Id",
                keyValue: "jichushuju");

            migrationBuilder.DeleteData(
                table: "sys_Menu",
                keyColumn: "Id",
                keyValue: "LODOPdayin");
        }
    }
}
